package pers.zc.activiti.shejimoshi.danli;

/**
 * @Annotion:
 * @ClassName: Test
 * @Author: Lin Fuyuan
 * @Date: 2019/11/1  16:02
 * @Version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        TestSingle single = TestSingle.getInstance("linfuyuan", "daxue");
        System.out.println(single.name);
        System.out.println(single.school);

        TestSingle single1 = TestSingle.getInstance("wangzhiwen", "beida");

        System.out.println(single1.name);
        System.out.println(single1.school);
        //单例初始化一次
    }

}
